const { router } = require('../../koa/koa-main')
const { getEditUser } = require('../../services/user')

router.get('/getEditUser', async (ctx, next) => {
  const { data } = await getEditUser(ctx.request.query)
  ctx.response.body = data
  await next()
})
